local PANEL = {}

AccessorFunc( PANEL, "m_bPartOfBar", 	"PartOfBar" )

function PANEL:Init()

	self:SetText( "-" )
	self:SetTextColor( self:GetDefaultTextColor() )
	self:SetFont( "FHUDElement" )
end

function PANEL:GetPadding()
	return 16
end

function PANEL:GetDefaultTextColor()
	return Color( 40, 40, 40, 250 )
end

function PANEL:GetTextLabelColor()
	return Color( 90, 90, 90 )
end

function PANEL:GetTextLabelFont()
	return "HudSelectionText"
end

function PANEL:Paint()

	if ( !self.m_bPartOfBar ) then
		draw.RoundedBox( 4, 0, 0, self:GetWide(), self:GetTall(), Color( 255, 255, 255, 200 ) )
	end

end

derma.DefineControl( "HudBase", "", PANEL, "DLabel" )
